package com.lvhx.sofa3.client;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;

/**
 * 健康检查网址，端口就是tomcat端口
 * http://localhost:8888/actuator/readiness
 * http://localhost:8888/actuator/health
 */
@Slf4j
@SpringBootApplication
@ImportResource({"classpath:reference-config.xml"})
@MapperScan("com.lvhx.sofa3.client.dao.mapper")
@ComponentScan(basePackages = {"com.lvhx.sofa3.client.*"})
public class ClientApplication8888 {
    public static void main(String[] args) {
        SpringApplication.run(ClientApplication8888.class, args);
        log.info("=====================服务启动成功=====================");
    }

}
